#ifndef _NET_ITIMER_H_
#define _NET_ITIMER_H_

#include "common/common.h"

namespace net {

class ITimerHandler;

class ITimer {
public:
    virtual ~ITimer() {}

public:
    virtual void Close() = 0;
    virtual uint32_t GetTime() = 0;
    virtual void Start(uint32_t time, ITimerHandler* handler, bool isPersistent = false) = 0;
};

}
#endif
